<?php
/** @var NotasController $this */
/** @var Notas $data */
?>
<div class="view">
                    
        <?php if (!empty($data->nota1)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('nota1')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->nota1); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->nota2)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('nota2')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->nota2); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->nota3)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('nota3')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->nota3); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->estudiante->cedula)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('estudiante_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->estudiante->cedula); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->materia->nombre)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('materia_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->materia->nombre); ?>
            </div>
        </div>

        <?php endif; ?>
    </div>